#!/usr/bin/env python
# -*-coding:utf-8-*-
# File    : liyuqi.py

import sys
import time
import os

'''
系统变量的使用
'''

def demo():
    '''这一个测试函数'''
    local_var = '这是一个局部变量'
    print(__name__)
    print(__file__)
    print(__package__)
    print(locals())
    print(globals())
    print(os.path.abspath('.'))
    print(os.path.expanduser('~'))
    print(os.environ)
    print(sys.platform)
    print(sys.path) #
    print(time.tzname)

if __name__ == '__main__':
    demo()
    print(demo.__doc__)